home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
DVIWN281.ZIP
/
GENALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-09-30
|
547b
|
18 lines
@echo off
if exist %TEMP%\lock_$_$.bat goto RUNNING
copy %1 %TEMP%\lock_$_$.bat > nul
del %1
%COMSPEC% /e:2048 /c %TEMP%\lock_$_$
del %TEMP%\lock_$_$.bat
if exist %TEMP%\error$_$ del %TEMP%\error$_$
goto GETOUT
:RUNNING
echo/
echo It seems that another instance of this batch file is already running.
echo If this is true, please wait until it finishes and then run this batch
echo file again. If on the other hand this is not true, delete the file
echo %TEMP%\lock_$_$.bat and then run this batch file again.
echo/
pause
:GETOUT